Flutter web |
您所在的位置:网站首页 › flutter web js › Flutter web |
Flutter web项目在从集成开发环境直接运行到chrome时运行得很流畅,但在调用flutter build web之后,托管构建的web应用程序不会打开(只有一个空白页面),并显示此错误 Failed to load resource: the server responded with a status of 404 (Not Found) main.dart.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) (index):1 Uncaught (in promise) TypeError: Failed to register a ServiceWorker for scope ('http://localhost:8080/') with script ('http://localhost:8080/flutter_service_worker.js'): A bad HTTP response code (404) was received when fetching the script. ![]() |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |